SELinux can be enabled or disabled. When enabled, SELinux has two modes: enforcing and permissive. Use the getenforce or sestatus commands to check in which ...
To change SELinux from enabled to disabled and vice versa change the SELinux variable in /etc/sysconfig/selinux and reboot the sever. If SELinux is enabled use ...
Re-Enable SELinux If editing the config file, Open the /etc/selinux/config file (in some systems, the /etc/sysconfig/selinux file). Change the line SELINUX=permissive to SELINUX=enforcing . Save and close the file. Reboot your system.